package com.ruoyi.customer.service;

import com.ruoyi.customer.SentMessage;
import com.ruoyi.customer.common.DisCustomerBo;
import com.ruoyi.customer.common.DisCustomerRequestBo;
import com.ruoyi.customer.common.DisDeptBo;
import com.ruoyi.customer.common.DisUserBo;
import com.ruoyi.customer.common.DisVo;
import java.util.List;
import java.util.Map;

public interface DisCommonService {


    List<DisCustomerBo> checkDataDept(DisCustomerRequestBo requestBo, String operationType);

    List<DisCustomerBo> checkDataUser(DisCustomerRequestBo requestBo, String operationType);

    List<DisVo> dataDealDept(List<DisCustomerBo> customerBos, List<DisDeptBo> deptBos);

    List<DisVo> dataDealUser(List<DisCustomerBo> customerBos, List<DisUserBo> userBos);

    void disToDept(List<DisVo> disVos, String operationType, String nickName,  Long userId, Long deptId);

    void disToUser(List<DisVo> disVos, String operationType, String nickName,  Long userId, Long deptId);

    Integer isAbleDisCustomerToUser(String userId);

    Map<String, Object> userDataDeal(List<DisVo> disVos);

    // 发送消息
    void sentInfo(String type, Map<String, Object> map);

    // 渠道信息发送
    void channelChannelDis(SentMessage send);
}
